package cn.upfinder.allvideo.Adapter;

import android.widget.TextView;

import java.util.ArrayList;
import java.util.List;

import cn.upfinder.allvideo.R;
import cn.upfinder.uilibrary.Adapter.BaseQuickAdapter;
import cn.upfinder.uilibrary.Adapter.BaseViewHolder;

/**
 * Created by upfinder on 2016/11/23 0023.
 * 视频选集的Adapter
 */

public class VideoDetailPartsAdapter extends BaseQuickAdapter<String> {

    public VideoDetailPartsAdapter(int layoutResId, ArrayList<String> data) {
        super(layoutResId, data);
    }


    @Override
    protected void convert(BaseViewHolder helper, String item) {

        ((TextView) helper.getView(R.id.tvVideoPartName)).setText(item);
    }
}
